<div id="uploadPanel-{$item.fieldId|default:'global'}" class="uploadPanel ui-widget-content">
    <div class="panelWraper" id="left">
        <label for="sizeS-{$item.fieldId|default:'global'}">{$smarty.const.StringFormUploadPanelLabelPictureSmall}</label>
        <select asynchronousUpdate = '1' id="sizeS-{$item.fieldId|default:'global'}">
            <option value="1">80x60</option>
            <option value="2">120x90</option>
            <option selected value="3">160x120</option>
            <option value="4">240x180</option>
            <option value="5">320x240</option>
        </select>
        <label for="sizeBStatus-{$item.fieldId|default:'global'}">{$smarty.const.StringFormUploadPanelLabelPictureBig}</label>
        <input class="button" asynchronousUpdate = '1' id="sizeBStatus-{$item.fieldId|default:'global'}" type="checkbox" checked onchange="sizeStatus({$item.fieldId|default:"'global'"}, 'B')">
        <select asynchronousUpdate = '1' id="sizeB-{$item.fieldId|default:'global'}">
            <option value="6">480x320</option>
            <option selected value="7">640x480</option>
            <option value="8">800x600</option>
            <option value="9">1024x768</option>
            <option value="10">1280x1024</option>
        </select>
    </div>
    <div class="panelWraper" id="right">
        <input  type="file" 
                class="uploadify"
                asynchronousUpdate = '1'
                id="uploadify-{$item.fieldId|default:'global'}"
        />
    </div>
    <script type="text/javascript">
        $('.button').button();
        {if $id}
            var itemId = {$id};
        {/if}
        uploaderCreate({$item.fieldId|default:"'global'"}, {$item.multiple|default:1});
    </script>
</div>